package com.ms.service.module.zone;

import com.ms.service.module.zone.module.BasicZoneModule;
import com.xpec.c4.service.module.task.TaskTimer;

/**
 * Zone 固定时间update的task
 * 
 * @author yangbingyan
 * 
 */
public class UpdateTaskTimer extends TaskTimer {

	@Override
	public void execute() {
		Object object = this.getCallback();
		if (object != null) {
			if (object instanceof BasicZoneModule) {
				((BasicZoneModule) object).onUpdateTaskTimer(this.getPeriod());
			}
		}
	}
}
